agents
Class BayesianAgentForAuctionMultiPhase

java.lang.Object
  extended by negotiator.Agent
      extended by agents.BayesianAgentForAuction
          extended by agents.BayesianAgentForAuctionMultiPhase

public class BayesianAgentForAuctionMultiPhase
extends BayesianAgentForAuction


Nested Class Summary
 
Nested classes/interfaces inherited from class agents.BayesianAgentForAuction
BayesianAgentForAuction.ACTIONTYPE, BayesianAgentForAuction.PHASE, BayesianAgentForAuction.ROLE
 
Field Summary
protected  double centerMaxOffer
           
protected  Bid myProviderLastBid
           
 
Fields inherited from class agents.BayesianAgentForAuction
CONCESSIONFACTOR, fOpponentModel, fOpponentModels, fOpponentPreviousBid, fPhase, fRole, fSmartSteps, messageOpponent, myLastAction, myLastBid, myPreviousBids, NUMBER_OF_SMART_STEPS
 
Fields inherited from class negotiator.Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
 
Constructor Summary
BayesianAgentForAuctionMultiPhase()
           
 
Method Summary
 Action chooseAction()
          this function is called after ReceiveMessage, with an Offer-action.
protected  Bid getNextBidAuction(Bid pOppntBid)
           
protected  Action proposeInitialBid()
           
 
Methods inherited from class agents.BayesianAgentForAuction
getActionType, getMaxUtilityBid, getNextBidSmart, getOpponentUtility, getParameters, getSmartBid, getTradeOff, getVersion, init, Paccept, prepareOpponentModel, proposeNextBid, ReceiveMessage
 
Methods inherited from class negotiator.Agent
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProviderLastBid

protected Bid myProviderLastBid

centerMaxOffer

protected double centerMaxOffer
Constructor Detail

BayesianAgentForAuctionMultiPhase

public BayesianAgentForAuctionMultiPhase()
Method Detail

proposeInitialBid

protected Action proposeInitialBid()
                            throws java.lang.Exception
Overrides:
proposeInitialBid in class BayesianAgentForAuction
Throws:
java.lang.Exception

chooseAction

public Action chooseAction()
Description copied from class: Agent
this function is called after ReceiveMessage, with an Offer-action.

Overrides:
chooseAction in class BayesianAgentForAuction
Returns:
(should return) the bid-action the agent wants to make.

getNextBidAuction

protected Bid getNextBidAuction(Bid pOppntBid)
                         throws java.lang.Exception
Overrides:
getNextBidAuction in class BayesianAgentForAuction
Returns:
a counterbid that has max util for us and an opponent utility that is equal to 1-estimated utility of opponent's last bid. Or, if that bid was done already before, another bid that has same utility in our space as that counterbid.
Throws:
java.lang.Exception